<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class Member extends Model
{
    //定义模型的关联表
    protected $table = 'member';
    //禁止时间更新
    public $timestamps = false;
    //设置允许进入数据表中的字段
    protected $fillable = ['name','age','email','avatar'];
}
